package com.system.demo.service.auth;

import com.system.demo.entity.auth.DTO.AddRoleDTO;
import com.system.demo.entity.auth.DTO.MenuIdsDTO;
import com.system.demo.tool.ResponseResult;


public interface SystemRoleService {
    ResponseResult<?> getTheNewestRoleTable();

    ResponseResult<?> addRole( AddRoleDTO addRoleDTO);

    ResponseResult<?> deleteRole(Integer roleId);

    ResponseResult<?> updateRoleMenuList(Integer roleId, MenuIdsDTO menuIds);

    ResponseResult<?> getUserMenuList();

    ResponseResult<?> getMenuIdsForRole(Integer roleId);

    ResponseResult<?> enableRole(Integer roleId);

}
